This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
You should probably add the following to your code to check that vreturn is actually an array:
Change from:
For e = 0 To 1
Print vreturn(e)
Next
to:
If IsArray(vreturn) Then
For e = 0 To Ubound(vreturn)
Print vreturn(cstr(e))
Next
End If
The code is also assuming that each element in vreturn is a single value (ie. Single string, number, etc) and not some type of other object such as an array or NotesName, or document, etc).